package cn.myschool.myschool.service;

import cn.myschool.myschool.entity.Subject;
import cn.myschool.myschool.mapper.SubjectMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * @author oldliu
 * @since 1.0
 */
@Service
public class SubjectService extends ServiceImpl<SubjectMapper, Subject> implements ISubjectService   {
    @Override
    public Subject get2(Long id) {
        return this.getBaseMapper().get2(id);
    }
}
